
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%@include file="/static/js/common.jsp"%>
    <script src="/static/js/dictionary.js"></script>
</head>
<body>

<div id="cc" class="easyui-layout" fit="true">
    <div data-options="region:'west',split:true,title:'字典目录'"  style="width:500px;">
        <table id="emp_datagrid"></table>
    </div>
    <div data-options="region:'center',title:'字典目录明细'">
        <table id="emp_datagrid2"></table>
    </div>
</div>

<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>

    <a href="#" class="easyui-linkbutton" id="changeState_btn" data-options="iconCls:'icon-remove',plain:true" data-cmd="del">删除</a>

    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
</div>

<div id="tb2">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd2="add2">新增</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd2="edit2">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd2="del2">删除</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd2="reload2">刷新</a>
</div>


<div id="form_btn">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>

<div id="form_btn2">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd2="save2">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd2="cancel2">取消</a>
</div>

<div id="emp_dialog">
    <form id="emp_form" method="post">
        <table align="center" style="margin:15px">
            <input type="hidden" name="id">
            <tr>
                <td>字典目录编码:</td>
                <td><input name="sn" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>字典目录名称:</td>
                <td><input name="name" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>字典目录简介:</td>
                <td><input name="remark" class="easyui-textbox"></td>
            </tr>
        </table>
    </form>

</div>

<div id="emp_dialog2">
    <form id="emp_form2" method="post">
        <table align="center" style="margin:15px">
            <input type="hidden" name="id">

            <tr>
                <td>字典目录编码:</td>
                <td><input id="inpit_sn" name="sn" class="easyui-combobox"
                           data-options="url:'/dictionary/query.do',textField:'name',valueField:'sn',panelHeight:'auto'"></td>
            </tr>
            <tr>
                <td>字典明细名称:</td>
                <td><input name="name" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>字典明细简介:</td>
                <td><input name="remark" class="easyui-textbox"></td>
            </tr>
        </table>
    </form>

</div>
</body>
</html>
